package zkk.com.mengqu.models;

/**
 * Created by Administrator on 2017/6/5.
 */
public class User {
    private int result;
    private String token;
    private int id;
    private String phone;
    private String password;
    private String name;
    private int sex;
    private String addr;
    private String head_path;

    public User() {
    }

    public User(String phone, String password) {
        this.phone = phone;
        this.password = password;
    }
    public User(int id, String name, int sex, String addr){
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.addr = addr;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getId() {
        return id;
    }

    public void setId(int uid) {
        this.id = uid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getHead_path() {
        return head_path;
    }

    public void setHead_path(String head_path) {
        this.head_path = head_path;
    }
}